package vip.aster.workflow.vo;

import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.LinkedHashMap;
import java.util.Map;

/**
 * 提交表单VO
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SubmitFormVO {

    /**
     * 表单ID
     */
    @NotBlank(message = "表单ID")
    private String formId;

    /**
     * 表单状态
     */
    @NotBlank(message = "表单状态不能为空")
    private String formStatus;

    /**
     * 表单数据
     */
    private Map<String, Object> formData = new LinkedHashMap<>();

}
